/*
* 命名空间: Project.Model
*
* 功 能： T_Loan实体类
*
* 类 名： T_LoanEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_Loan")]
    public class T_LoanEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "EID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? EID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "UserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "LoanMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? LoanMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 16,DecimalDigits = 2,ColumnName = "SubLoanMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? SubLoanMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "BackMoney",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? BackMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "LoanType",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? LoanType
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 200,DataLength = 100,DecimalDigits = 0,ColumnName = "LoanName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string LoanName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "LoanDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? LoanDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 12,DecimalDigits = 2,ColumnName = "CurrSalaryCount",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? CurrSalaryCount
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 20,DataLength = 20,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 200,DataLength = 100,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 10,DataLength = 10,DecimalDigits = 0,ColumnName = "Creater",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Creater
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "CreaterNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CreaterNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "HanderUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string HanderUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "HanderName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string HanderName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 12,DecimalDigits = 2,ColumnName = "OldLoanCount",Required = false,DefaultValue = "((0))",IsPrimarykey = false)]
        public decimal? OldLoanCount
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BankNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BankNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "SendUserNo",Required = false,DefaultValue = "(NULL)",IsPrimarykey = false)]
        public string SendUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "SendUserName",Required = false,DefaultValue = "(NULL)",IsPrimarykey = false)]
        public string SendUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "SendTime",Required = false,DefaultValue = "(NULL)",IsPrimarykey = false)]
        public DateTime? SendTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "CheckUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "CheckUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CheckDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CheckDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsSumbit",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? IsSumbit
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ZTBS",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? ZTBS
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "Step",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? Step
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "FlowNode",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? FlowNode
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "FFZT",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public byte FFZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? IsDel
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "FNO",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string FNO
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1000,DataLength = 500,DecimalDigits = 0,ColumnName = "Descrption",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Descrption
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ZTMC",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ZTMC
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "PayMethodID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? PayMethodID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "PayMethodName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PayMethodName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ReviewUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ReviewUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "ReviewUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ReviewUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ReviewZT",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? ReviewZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "ReviewDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? ReviewDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "UserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "BackTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? BackTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BackUserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BackUserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "BackUserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BackUserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 400,DataLength = 200,DecimalDigits = 0,ColumnName = "BackRmark",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BackRmark
        {
            get; set;
        }
    }
}
